<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>注册</title>
    <meta content="yes" name="apple-mobile-web-app-capable"><!-- 这meta的作用就是删除默认的苹果工具栏和菜单栏允许全屏模式浏览-->
    <meta name="apple-touch-fullscreen" content="yes"><!-- 开启对web app程序的支持  -->
    <meta content="telephone=no,email=no" name="format-detection"><!-- iPhone会自动把你这个文字加链接样式、并且点击这个数字还会自动拨号！telephone=no就忽略页面中的数字识别为电话号码 ,email=no 忽略识别邮箱 -->
    <!--base css-->
    <link rel="stylesheet" href="CSS/reset.css"/>
    <link rel="stylesheet" href="CSS/index.css"/>
    <link rel="stylesheet" href="FONT/iconfont.css"/>
    <!--base css end-->
    <!--base js-->
    <!--<meta content="yes" name="apple-mobile-web-app-capable">-->
    <script>
        window.scrollTo(0, 0);
    </script>
    <!--<meta content="yes" name="apple-mobile-web-app-capable"> end-->
    <script src="JS/reset.js"></script>
    <script src="JS/jquery.min.js"></script>
    <script src="JS/zepto.min.js"></script>
    <script src="JS/TouchSlide.js"></script>
    <script src="JS/notice.js"></script>
    <script src="JS/screen.js"></script>
    <script src="JS/back.js"></script>
    <!--base js end-->
    <!--no base js-->
    <script src="JS/kuaisudenglu.js"></script>
    <!--no base js end-->


</head>
<body>
<!--wapper-->
<div class="wapper">
    <!--header-->
    <div class="header">
        <div class="header-list bag-1462c4">
            <div class="p-l-25 p-r-25 relative text-center f33">
                <a href="javascript:history.go(-1)" class="block"><i class="icon iconfont f-b">&#xe643;</i></a>
                <a href="<?php echo U('Index/index'); ?>" class="home"><i class="icon iconfont">&#xe61a;</i></a>
                <a href="javascript:;" class="text-fff">注册</a>
            </div>
        </div>
    </div>
    <!--header end-->
    <!--content-->
    <div class="content">
        <div class="zhuce-list p-l-25 p-r-25">

            <div class="denglu">
                <div class="dengluinput m-t-33 m-b-33">
                    <form action="<?php echo U('Index/register'); ?>" method="post" class="dengluform">
                        <div class="denglutit relative" <?php if($error == 1): ?>style="border:1px solid red"<?php endif; ?>>
                 <input type="text" placeholder="手机号" id="tel" name="phone" style='width: 67%;' class="dlphone"/>
                             <a href="javascript:;" class="huqu" >获取验证码</a>
                        </div>
                        <div class="denglutit">
                            <input type="text"name="yzm" placeholder="请输入验证码"/>
                        </div>
                        <div class="denglutit">
                            <input type="text" name="pwd" placeholder="请输入登录密码（6-16位数字/字母）"/>
                        </div>
                       <script>
                            $(document).ready(function(){
                                  $(".huqu").click(function(){
                                var value=$(".huqu").text();
                                var tel=$("#tel").val();
                                  if(value == "获取验证码" && tel !=""){
                                          $.post("<?php echo U('Index/yanzheng'); ?>",{yz:1,phone:tel},function(data){},'json');
                                      }
                                        
                                   });  
                             });
                        </script>
                    
                    
                </div>
                <!-- <a href="" class="denglusub">立即登录</a> -->
                 <input type="submit" value="立即注册" class="dlusub sub">
                 </form>
                <div class="dengluzhu clearFloat m-t-27 m-b-27">
                    <a href="javascript:;" class="floatLeft">立即帐号？<a href="<?php echo U('Index/login'); ?>" class="text-1462c4">立即登录</a></a>
                    <a href="<?php echo U('Index/forget'); ?>" class="floatRight">忘记密码</a>
                </div>
            </div>

        </div>

        <!--content end-->



    </div>
    <!--wapper end-->
</div>
</body>
</html>